package com.zzty.dao;

import com.zzty.entity.SelfExamTransaction;

import java.util.Date;
import java.util.List;

public interface SelfExamTransactionDao {
//    public Integer addSelfTransaction(int id);       //创建开始做题记录
//    public Boolean checkLogIn(int id);               //检查是否登陆
//    public void commit(Integer userId,String answerUrl);                   //提交作业
//    public List searchMyQuestion();         //历史题目
//    public void searchMyAnswer();           //我的代码
//    public void studentsWork();             //每天学生完成情况
//    public String getQuestionById(int id);
    public List getSelfExamToTable();
    public String searchAnswerUrlById(int examId,int userId);
//    public List getContentByDate(Date date );
//    public String getUserNameById(Integer userId);
    public List createTable();
    public String getNameById(Integer id);
}
